package com.zhome.gateway.repository.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
 *
 * @author cuiyh9
 * @date 2020/5/9
 */
@Data
@TableName("route_info")
public class RouteInfoEntity  extends Model<RouteInfoEntity> {

    @TableId(value="id", type = IdType.AUTO)
    private Integer id;

    @TableField(value="path")
    private String path;

    @TableField(value="server_name")
    private String serverName;

    @TableField(value="http_method")
    private String httpMethod;

    @TableField(value="content_type")
    private String contentType;

    @TableField(value="mock")
    private Integer mock;

    @TableField(value="mock_value")
    private String mockValue;

    @TableField(value="socket_timeout")
    private Integer socketTimeout;

    @TableField(value="connect_timeout")
    private Integer connectTimeout;

    @TableField(value="need_token")
    private Integer needToken;

    @TableField(value="create_time")
    private Date createTime;

    @TableField(value="create_user")
    private String createUser;

    @TableField(value="update_time")
    private Date updateTime;

    @TableField(value="update_user")
    private String updateUser;

    @TableField(value="del_flag")
    private Integer delFlag;

}
